<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport"
    content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover">
  <title>canvas 画板</title>
  <link rel="stylesheet" href="style.css">
  <script src="https://at.alicdn.com/t/font_2304139_erxoogorf29.js"></script>
</head>

<body>
  <canvas id="canvas" width=300 height=300></canvas>
  <div id="actions" class="actions">
    <svg id="pen" class="icon active">
      <use xlink:href="#icon-pen"></use>
    </svg>
    <svg id="eraser" class="icon">
      <use xlink:href="#icon-eraser"></use>
    </svg>
    <svg id="clear" class="icon">
      <use xlink:href="#icon-clear"></use>
    </svg>
    <svg id="save" class="icon">
      <use xlink:href="#icon-save"></use>
    </svg>
  </div>


  <ol class="colors">
    <li id="black" class="black active"></li>
    <li id="red" class="red"></li>
    <li id="blue"" class=" blue"></li>
    <li id="green" class="green"></li>
  </ol>

  <ol class="size">
    <li id="thin" class="thin"></li>
    <li id="thick" class="thick"></li>
  </ol>
  <script src="index.js"></script>
</body>

</html>